import request from '@/utils/request'
import { CURDApiBase } from '../curd-api-base'

export default new class PurchaseApi extends CURDApiBase {
  constructor () {
    super('/wms-order/api/purchase')
  }

  listCount() {
    return request({
      url: `${this.baseUrl}/recentcount`,
      method: 'get'
    })
  }
}()